<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="strutsTags"%>
<html>
	<head>
		<script type="text/javascript" src="../resource/js/configuration/configOthers.js"></script>
	</head>
<body>
<div class="wrapper">
	<div class="tipdiv">
		<p>1. 系统备份缺省每隔3天备份一次，最多保留最新50个备份</p>
		<p>2. 若系统备份频率设置为0,则定时器一年只在年底运行一次</p>
	</div>
	<div class="contentdiv">
		<form id="otherConfigForm" action="otherUpdateConfig.action" name="otherConfigForm" method="post">
			<s:token />
			<p>
				系统备份每隔
				<s:textfield name="sys_backup_frequency" id="sys_backup_frequency"
					size="4" maxlength="4" onkeyup="value=value.replace(/\D/g,'')"></s:textfield>
				天备份一次(0-30天)
			</p>
			<p>
				系统备份最多
				<s:textfield name="sys_backup_copies" id="sys_backup_copies"
					size="4" maxlength="4" onkeyup="value=value.replace(/\D/g,'')"></s:textfield>
				个拷贝(0-50个)
			</p>
			<p>
			   <s:hidden id="syncType" name="syncType" />
			   <s:hidden id="autoSyncTime" name="autoSyncTime" />
		                 考勤机记录提取方式：
		       <input type="checkbox" id="syncTime" name="syncType" class="checkbox" <s:if test="syncType==1 || syncType==3">checked</s:if>/>
			       定时自动下载：
			   <s:textfield id="quartz_syncAttdRecord" name="quartz_syncAttdRecord" size="8" maxlength="8" onclick="WdatePicker({dateFmt:'HH:mm:ss', el:'quartz_syncAttdRecord'})" onchange="HRMCommon.isHms(this,this.value)"/>
		       &nbsp;&nbsp;
			   <input type="checkbox" id="syncInterval" name="syncType" class="checkbox" <s:if test="syncType==2 || syncType==3">checked</s:if>/>
			       自动下载每隔
			   <s:textfield id="quartz_syncAttdRecordInterval" name="quartz_syncAttdRecordInterval" size="6" maxlength="6" onkeyup="value=value.replace(/\D/g,'')"></s:textfield>
			        分钟
			   &nbsp;&nbsp;
			   <input type="checkbox" id="chk_autoSyncTime" name="chk_autoSyncTime" class="checkbox" <s:if test="autoSyncTime==1">checked</s:if>/>
			       下载时自动与系统时间校正
			</p>
			<p>
				<br>
				<input class="button" type="button" id="updateOthersBt" name="submitOthers"
					value="更新" onClick="doOtherUpdate()" />
			</p>
		</form>
	</div>
</div>
</body>
</html>